@charset "UTF-8";
/*本次项目中常用的样式*/

$red: #e91206;
$orange: #ff6600;

/*版心*/
@mixin main {
  width: 1200px;
  padding: 0 5px;
  margin: 0 auto;
}

header, footer, section {
  min-width: 1210px;
}

.a-hover:hover {
  color: $orange;
}

/*错误提示的样式*/
.error {
  font-size: 12px;
  color: $red;
}

/*常用字体颜色*/
.c-666 {
  color: #666666;
}

.c-ddd {
  color: #dddddd;
}

.c-orange {
  color: $orange;
}

/*常用标题*/
.normalTitle {
  height: 33px;
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  margin-bottom: 10px;
  color: #333333;

  .n-title-left {
    display: flex;
    align-items: center;

    i {
      font-size: 26px;
      margin-right: 6px;
    }

    h2 {
      font-weight: bold;
      font-size: 26px;
    }
  }

  .n-title-right {
    display: flex;
    align-items: center;
    font-size: 12px;

    i {
      font-size: 12px;
      margin-right: 6px;
    }

    em {
      color: #cccccc;
      margin: 0 5px;
    }
  }
}

/*常用商品框*/
@mixin goodsDiv($width,$imgW) {
  display: block;
  width: $width;
  height: 195px;
  background: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 1px rgba(0, 0, 0, .1);
  cursor: pointer;

  .text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 180px;
    height: 75px;
    margin-top: 15px;
    margin-left: 15px;
    position: relative;
    z-index: 100;

    .smallTitle {
      font-size: 12px;
      color: #999999;
    }

    .mainTitle {
      font-size: 18px;
      color: #333333;
      margin-top: 6px;
    }

    .price {
      color: $orange;
      font-size: 16px;
      font-weight: bold;
      padding-bottom: 6px;
    }
  }

  .goodPic {
    transition: transform 0.2s ease-in 0s;
    position: absolute;
    bottom: 0;
    right: 20px;
    width: $imgW;
  }

  .smallIcon {
    width: 28px;
    height: 31px;
    background: url("../img/index/goods_smallIcon.png") no-repeat center/100% 100%;
    color: #fff;
    text-align: center;
    line-height: 28px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
    font-size: 14px;
  }

  &:hover .goodPic {
    transform: translate(-5px, 0);
  }
}

/*多选框样式*/
input[type='checkbox'] {
  width: 14px;
  height: 14px;
  background-color: #fff;
  appearance: none;
  border: 1px solid #c9c9c9;
  border-radius: 2px;
  outline: none;
  float: left;
  cursor: pointer;
}

input[type='checkbox']:checked {
  &:after {
    content: '✔';
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 100%;
    color: $orange;
  }
}

.art2 {
  margin-top: 50px;
  margin-bottom: 50px;

  .art2-title {
    height: 40px;
    background: #f8f8f8;

    .title-main {
      width: 108px;
      height: 41px;
      box-sizing: border-box;
      border-top: 2px solid $orange;
      border-left: 1px solid #dadada;
      border-right: 1px solid #dadada;
      padding: 8px 24px 11px;
      background: #fff;
      position: relative;
      z-index: 10;
    }
  }

  .art2-content {
    display: flex;
    justify-content: space-between;
    width: 1200px;
    height: 250px;
    box-sizing: border-box;
    padding: 20px 34px;
    border: 1px solid #dadada;

    li {
      width: 159px;
      height: 100%;

      a {
        display: flex;
        flex-direction: column;
        justify-content: space-between;

        img {
          width: 157px;
          height: 157px;
          border: 1px solid #eeeeee;
        }

        p {
          margin-top: 6px;
          height: 34px;
          overflow: hidden;
          line-height: 17px;
        }

        em {
          margin-top: 6px;
          color: $orange;
        }
      }

    }
  }
}

.flyImg {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  position: absolute;
  z-index: 99999;
}

.addReduce {
  user-select: none;
}
